<!DOCTYPE html>
<head>
  <style>
    html,body,svg { height:100%; margin: 0; padding: 0; display:block; }
  </style>
</head>
<body>
  <svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
    <path fill="none" stroke="lightgrey"
      d="M30,50 C20,-50 180,150 180,50 C180-50 20,150 20,50 z" />
  
    <circle r="5" fill="red">
      <animateMotion dur="10s" repeatCount="indefinite"
        path="M30,50 C20,-50 180,150 180,50 C180-50 20,150 20,50 z" />
    </circle>
  </svg>
</body>